<template>
    <div class="tab2">
        tab2
        <router-link to="/tab1">tab1</router-link>
    </div>
</template>

<script>
    export default{
        name:"tab2"
    }
</script>

<style scoped>
    div{
        width: 200px;
        height: 200px;
        text-align: center;
        line-height: 200px;
        background: goldenrod;
    }
</style>